var assert = require('assert');
var should = require('should');
var util = require('util');
var zlib = require('zlib');
var _ = require('lodash');
var copyData = require('../../../app/libs/war/copyData');
var config = require('../../config');
var dataApi = require('../../../app/libs/dataApi');

suite('测试copyData', function () {
    // suite('getData', function () {
    //     test('获取副本的数据', function () {
    //         var carbon_config = dataApi.carbon.all();
    //         _.each(carbon_config, function (carbon, carbon_type) {
    //             var copy_data = copyData.getData(carbon_type);
    //         });
    //     });
    // });

    // suite('getSoldierList', function () {
    //     test('分析士兵列表的数据', function () {
    //         console.log(copyData.getBuildSoldierList('2010:1:1,2001:2:1,2001:1:1;2010:1:1,2001:2:1,2001:1:1'));
    //         console.log(copyData.getSoldierList('2010:1:1,2001:2:1,2002:1:1;2011:1:1,2003:2:1,2001:1:1'));
    //     });
    // });

    suite('getData', function () {
        test('查询副本信息', function () {
            var copy_data = copyData.getData(10101)
                // console.log(JSON.stringify(copy_data));
                // console.log('build_list:', copy_data.build_list);
        });
    });
});
